$.get("php/getGoodsType.php",function(e){var p=JSON.parse(e);for(let o=0;o<p.length;o++){let e=$("<li>");$(".Classification_ul").append(e),e.html(p[o].goodsType)}}),$.get("php/getGoodsList.php",{typeId:1},function(e){var p=JSON.parse(e);for(let o=0;o<p.length;o++){var t=$("<li>");let e=p[o].goodsId;$(".j_content_ul").append(t),$(".j_content_ul li").eq(o).html(`
                    <img src="images/pic/${p[o].goodsImg}">
                    <h1>${p[o].goodsName}</h1>
                    <p><b>￥${p[o].goodsPrice}</b><i>多款可选</i></p>
                    <p><span>限时特价</span><span>赠送积分</span></p>
                    <em>3742人评价</em><em>96好评</em>  
        `).attr("id",e).click(function(){location.href="goodsinfo.html?id="+e})}});